package com.ssrs.platform.code;

import com.ssrs.framework.extend.annotation.ExtendItem;
import com.ssrs.platform.FixedCodeType;
import com.ssrs.platform.PlatformPlugin;
import com.ssrs.platform.extend.CodeService;

/**
 * 默认消息类别
 * @author ssrs
 */
@ExtendItem(
        plugin = PlatformPlugin.class,
        extendService = CodeService.class,
        description = "默认消息类别"
)
public class MessageType extends FixedCodeType {
    public static final String CODETYPE = "MessageType";

    public static final String USER_SEND = "user_send";
    public static final String USER_REPLY = "user_reply";
    public static final String SYSTEM_REMIND = "system_remind";

    public MessageType() {
        super(CODETYPE,"默认消息类别",false,false);
        addFixedItem(USER_SEND, "用户发送", null);
        addFixedItem(USER_REPLY, "用户回复", null);
        addFixedItem(SYSTEM_REMIND, "系统提示", null);
    }
}
